from PySide6.QtWidgets import QMainWindow,QLabel
from views.home.home import Ui_home
from views.schoolInfo.schoolinfoView import SchoolInfoView
from views.initsetting.initsettingView import InitSettingView

class HomeViews(QMainWindow):

    def __init__(self):
        super().__init__()
        self.ui = Ui_home()
        self.ui.setupUi(self)
        self.setWindowTitle('XXX管理系统')

        self.ui.statusbar.addWidget(QLabel('本程序由胡荣江独立开发，版权归胡荣江所有！版本号为V1'))

    def schoolInfoWidget(self):
        self.setCentralWidget(SchoolInfoView())

    def initsettingWidget(self):
        self.setCentralWidget(InitSettingView())
